rm -rf ./stf-ease-server
npm run build

cd ./stf-ease-server

# copy files
mkdir ./screencaps
cp -rf ../apks ./
cp -rf ../lib ./
echo "registry=https://registry.npmmirror.com" > .npmrc

# npm prepare
cp -rf ../package*.json ./
npm install --omit=dev


cd ..
tar -zcf ./stf-ease-server.tar.gz ./stf-ease-server